package com.ruoyi.biz.domain;

import java.math.BigDecimal;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 案件类型表 biz_case_type
 * 
 * @author riverbo
 */
@SuppressWarnings("serial")
@EqualsAndHashCode(callSuper=false)
@Data
@TableName(value = "biz_case_info_court")
public class CaseInfoCourt extends BaseEntity {

    /** 案件ID */
	@TableField(value = "case_id")
    private Integer caseId;

    /** 案件标的额 */
    @Excel(name = "案件标的额")
    private BigDecimal caseAmount;

    /** 案件案号 */
    @Excel(name = "案件案号")
    @TableField(value = "case_no")
    @NotBlank(message = "案件案号不能为空")
    @Size(min = 0, max = 64, message = "案件案号长度不能超过64个字符")
    private String caseNo;

    /** 法院名称 */
    @Excel(name = "法院名称")
    @TableField(value = "court_name")
    @NotBlank(message = "法院名称不能为空")
    @Size(min = 0, max = 64, message = "法院名称长度不能超过128个字符")
    private String courtName;

    /** 法院地址 */
    @Excel(name = "法院地址")
    @TableField(value = "court_name")
    @NotBlank(message = "法院地址不能为空")
    @Size(min = 0, max = 64, message = "法院地址长度不能超过256个字符")
    private String courtAddr;

    /** 审理法官 */
    @Excel(name = "审理法官")
    @TableField(value = "judger")
    @NotBlank(message = "审理法官不能为空")
    @Size(min = 0, max = 64, message = "审理法官长度不能超过32个字符")
    private String judger;

    /** 法官联系方式 */
    @Excel(name = "法官联系方式")
    @TableField(value = "judger_tel")
    @NotBlank(message = "联系方式不能为空")
    @Size(min = 0, max = 64, message = "联系方式长度不能超过16个字符")
    private String judgerTel;

}
